package com.shuma.shopmanage.model.shop.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PreviewVo implements Serializable{

    @ApiModelProperty("商品编号")
    private Long id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("文字描述")
    private String description;

    @ApiModelProperty("购买类型 0-纯积分 1-积分+现金 2-现金")
    private Integer buyType;

    @ApiModelProperty("积分价格")
    private Integer pointPrice;

    @ApiModelProperty("现金价格")
    private BigDecimal cashPrice;
}
